package com.common.allCommon;

import android.content.Context;
import android.content.Intent;
import android.provider.Browser;

//FRI HYK修改By明星App，用来合并 allcommon 标记
/**
 * 用App自带浏览器打开URL
 * 
 * <br>Created 2014-8-18 下午5:58:12
 * @version  
 * @author   HuangYK		
 *
 * @see
 */
public class OpenUrlByAppBrowser implements IOpenUrlByBrowser {

	@Override
	public void openUrlByBrowser(Context context, String url) {
		Intent intent = new Intent();
		intent.setClassName(context, "com.nd.android.u.cloud.activity.WebViewActivity");
		intent.putExtra(Browser.EXTRA_APPLICATION_ID,
				context.getPackageName());
		intent.putExtra("extars_webview_url", url);
		context.startActivity(intent);
	}

}
